package bean;


public class Teacher{
    private String tid;//工号
    private String password;//密码
    private String name;//姓名
    private String department;//院系
    private String title ;//职称
    private String phone;//手机
    private String email;//邮箱
    private int creditscore;//信誉积分
    // 构造函数
    public Teacher() {}

    public Teacher( String tid,String password,String name,String department,String title,String phone,String email,int creditscore) {
        this.tid = tid;
        this.password = password;
        this.name = name;
        this.department = department;
        this.title = title;
        this.phone = phone;
        this.email = email;
        this.creditscore = creditscore;

    }
    /*
    public int getid() {
       return id;
   }

   public void setid(int id) {
       this.id = id;
   }
   */
    //工号
    public String gettid() {
        return tid;
    }

    public void settid(String tid) {
        this.tid = tid;
    }

    //密码
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    //姓名
    public String getname() {
        return name;
    }

    public void setname(String name) {
        this.name = name;
    }
    //院系
    public String getdepartment() {
        return department;
    }
    public void setdepartment(String department) {
        this.department = department;
    }
    // 职称
    public String gettitle() {
        return title;
    }
    public void settitle(String title) {
        this.title = title;
    }
    //手机
    public String getphone() {
        return phone;
    }

    public void setphone(String phone) {
        this.phone = phone;
    }
    //邮箱
    public String getsex() {
        return email;
    }

    public void setsex(String email) {
        this.email = email;
    }
    //信誉积分
    public int getcreditscore() {
        return creditscore;
    }

    public void setcreditscore(int creditscore) {
        this.creditscore = creditscore;
    }


}